package com.scs.application.modules.wm.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.scs.application.modules.wm.entity.Stock;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class StockDTO extends Stock {
    //锁库库存
    private Double lockQty;

    //锁库时间
    private LocalDateTime lockTime;

    //锁库备注
    private String lockComment;

    @TableField(exist = false)
    private Integer stockDate ;


    //库存日消耗量
    private Double skuQtyDaily;
    /**
    * @Description： 工作记录id
    */
    @TableField(exist = false)
    private String workOrderId ;


    /**
     * @Description： 工作记录单号
     */
    @TableField(exist = false)
    private String workOrderKey ;

    @TableField(exist = false)
    private String mscmCode;

    @TableField(exist = false)
    private String hrpCode;

    private String num;


    //耗材基础分类
    @TableField(exist = false)
    private String matrBaseType;
    //耗材检索码
    @TableField(exist = false)
    private String namePyMatr;

    @TableField(exist = false)
    private String namePySp;

    // 下限,基础,安全库存
    private Double skuQtySafety;

    private String busType;

    private String busId;

    private String hisCode;

    // 入库类型
    private String inBusType;

    // 可用单品数量 排除掉锁定的
    private Double skuQtyUsable;
}
